//
//  HJInfoDetailCell.m
//  project
//
//  Created by hu on 2019/3/25.
//  Copyright © 2019 健健. All rights reserved.
//

#import "HJInfoDetailCell.h"
#import "HJInfoDetailVC.h"
#import "YFDongtaiModel.h"
@implementation HJInfoDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.mainImage.layer.cornerRadius = 5;
    self.mainImage.layer.masksToBounds = YES;
}
- (IBAction)starBtn:(UIButton *)sender {
}

-(void)loadCellData:(YFDongtaiRecordModel *)infoModel {
    [self.mainImage sd_setImageWithURL:[NSURL URLWithString:infoModel.previewImageName] placeholderImage:nil];
    [self.starBtn setTitle:infoModel.praiseAmount forState:0];
    
}
@end
